/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.mycompany.moviedownloader.DbModel;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author patrik
 */
public class MyMap<K,V> extends HashMap{

    public MyMap(){
        Map<String, Integer> tmp = new HashMap<>(); 
        tmp.put("film", 1);
        tmp.put("video film", 2);
        tmp.put("tv film", 3);
        tmp.put("tv seriǎl", 4);
        tmp.put("tv pořad", 5);
        tmp.put("divadelní záznam", 6);
        tmp.put("koncert", 7);
        tmp.put("studentský film", 8);
        tmp.put("amatérský film", 9);
        tmp.put("hudební videoklip", 10);
        
        super.putAll(tmp);
    }
    
    public MyMap<K,V> getUnmodifiable(){
        return (MyMap<K,V>) Collections.unmodifiableMap(this);
    }
    
    @Override
    public Object put(Object key, Object value) {
        return null;
    }

    @Override
    public void putAll(Map m) {
        
    }
}
